import React, { Component } from 'react'

import './nav-bar.style.css'
export default class NavBar extends Component {
  render() {
    // console.log(this.props);
    const { leftSlot, centerSlot, rightSlot } = this.props
    return (
      <div className="nav_bar">
        <div className="nav_left">
          {leftSlot}
        </div>
        <div className="nav_center">
          {centerSlot}
        </div>
        <div className="nav_right">
          {rightSlot}
        </div>
      </div>
    )
  }
}
